<?php /* Smarty version 2.6.26, created on 2012-08-28 18:32:54
         compiled from afcs_adm_area_view.html */ ?>
<?php echo '<?xml'; ?>
 version="1.0" encoding="utf-8"<?php echo '?>'; ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="Content-Script-Type" content="text/javascript" />
		<meta http-equiv="Content-Style-Type" content="text/css" />
		<title>コントロールパネル</title>
		<link rel="stylesheet" href="./assets/styles/default.css" type="text/css" />
		<script src="assets/scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
		<script src="assets/scripts/menu.js" type="text/javascript"></script>
		<script src="assets/scripts/table.js" type="text/javascript"></script>
		<link type="text/css" href="./assets/styles/ui-lightness/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
		<script type="text/javascript" src="./assets/scripts/ui/ui.core.js"></script>
		<script type="text/javascript" src="./assets/scripts/ui/ui.datepicker.js"></script>

		<script type="text/javascript">
		$(function() {
			$('.message').fadeIn("slow");
			$('.text_date').datepicker({
				changeMonth: true,
				changeYear: true,
				dateFormat: 'yy/mm/dd'
			});
			$('#btn-export').click(function(){	
				if(confirm('ダウンロードしますか？')){
					document.form1.csv.value="download";
					document.form1.submit();
					
				}
			});
			$('#btn-reset').click(function(){	
				location.href = document.form1.action;
			});
			
			$('#btn_search').click(function(){	
				document.form1.csv.value="";
				document.form1.submit();
			});
		});
		function toPage(thepage) {
			document.form1.page.value =  thepage;
			document.form1.csv.value="";
			document.form1.submit();
		}
		</script>

		</script>
		<link rel="stylesheet" type="text/css" href="./assets/styles/tablesorter.css" />
		<script type="text/javascript" src="./assets/scripts/tablesorter.js"></script>
	</head>
	<body id="">
<?php echo $this->_tpl_vars['menu']; ?>

<?php echo $this->_tpl_vars['logout']; ?>

		<div id="container"><div class="wrapper">
			<h2>PDFダウンロードサイト　チラシ(管理者用)</h2>
			<ul class="submenu clearfix">
				<li><a href="afcs_adm_store_view.php">店舗別検索</a></li>
				<li><a href="afcs_adm_map_view.php">マップグルーピング検索</a></li>
				<li><a href="afcs_adm_area_view.php">エリア別検索</a></li>
				<li><a href="afcs_adm_sc_view.php">チラシ版別検索（SC用）</a></li>
				<li><a href="afcs_index.php">TOP画面へ</a></li>
			</ul>
			<h3>エリア別検索</h3>

			<form name="form1" id="form1" method="get" action="afcs_adm_area_view.php" >
				<input type="hidden" name="page" />
				<table class="formTable">
					<tbody>
						<tr>
							<th>チラシ発行日</th>
							<td>
								<input type="text" name="upd_f" class="text_date" value="<?php echo $this->_tpl_vars['forms']['upd_f']; ?>
" /> ～ 
								<input type="text" name="upd_t" class="text_date" value="<?php echo $this->_tpl_vars['forms']['upd_t']; ?>
" />
							</td>
						</tr>
						<tr>
							<th>世話人コード</th>
							<td>
								<input type="text" name="pattern_name" value="<?php echo $this->_tpl_vars['forms']['pattern_name']; ?>
" class="text" />
							</td>
						</tr>
					</tbody>
				</table>
				<p class="button" style="text-align:right">
					<button type="button" id="btn-reset"><span>クリア</span></button>
					<button type="button" id="btn_search" class="submit"><span>絞込検索</span></button>
				</p>
				<input type="hidden" name="search" value="1" />
				<input type="hidden" name="csv" />
			</form>


			<p class="message"><?php echo $this->_tpl_vars['page']['cnt']; ?>
件の情報が見つかりました。</p>

			<table id="search_result" class="sortable">
				<thead>
					<tr>
						<th><h3>店舗名</h3></th>
						<th><h3>発行日</h3></th>
						<th sytle="width:200px"><h3>タイトル</h3></th>
						<th><h3>サイズ</h3></th>
						<th><h3>印刷部数</h3></th>
						<th><h3>折込</h3></th>
						<th><h3>面</h3></th>
						<th><h3>管理No</h3></th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td rowspan="2">浦和</td>
						<td rowspan="2">2010年12月31日</td>
						<td rowspan="2" sytle="width:200px">【14】歳末徹底値下げSU+JK+CO半額　読売新聞地域広告B2版</td>
						<td rowspan="2" align="center">B3</td>
						<td rowspan="2" align="center">100,000部</td>
						<td rowspan="2" align="center">田園13版</td>
						<td  align="center" sytle="width:10px">表</td>
						<td align="center"><a href="#" target="_blank" style="text-decoration:underline;">101231018h1</a></td>
					</tr>
					<tr>

						<td align="center">裏</td>
						<td align="center"><a href="#" target="_blank" style="text-decoration:underline;">101231018h1</a></td>
					</tr>


					<tr>
						<td rowspan="2">所沢</td>
						<td rowspan="2">2010年12月30日</td>
						<td rowspan="2" sytle="width:200px">【13】歳末徹底値下げSU+JK+CO半額　読売新聞地域広告B2版</td>
						<td rowspan="2" align="center">B3</td>
						<td rowspan="2" align="center">50,000部</td>
						<td rowspan="2" align="center">田園13版</td>
						<td  align="center" sytle="width:10px">表</td>
						<td align="center"><a href="#" target="_blank" style="text-decoration:underline;">101231018h1</a></td>
					</tr>
					<tr>

						<td align="center">裏</td>
						<td align="center"><a href="#" target="_blank" style="text-decoration:underline;">101231018h1</a></td>
					</tr>


				</tbody>
			</table>

			<p class="message">ここに検索結果が表示されます。</p>
			<!--
			<p class="button">
				<button type="button" class="btn_return" class="submit"><span>戻る</span></button>
			</p>
			-->


		</div></div>
		<?php echo $this->_tpl_vars['footer']; ?>

	</body>
</html>